package com.teachsys.tms.dao;
import  com.teachsys.tms.entity.Student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface StudentDao {
    List<Student> queryAll();

    Student queryById(String id);

    int insert (Student student);

    int update (Student student);

    int delete (String id);
}
